package com.yy.jhl.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by libingn on 2017/12/18.
 */

public class InvitePackageInfo implements Serializable{

    /**
     * package_id : 803966BE-B140-E6ED-2A59-CF055AB324A7
     * batch_id : 4184E366-8991-177E-E9C3-FDA8E2BD42F9
     * title : 监管订单名称
     * order_sn : XM20171216_001_001_001
     * batch_sn : XM20171216_001_001_001_001
     * pack_num : 766294513
     * company_name : test
     * items : [{"id":"箱子产品主键ID","batch_order_item_id":"订单产品ID","quantity":"数量","unit":"单位","item_name":"产品名称","unit_price":"单价","model":"型号","create_time":"2017-12-16 03:07:35"},{"id":"A17A8B22-F54E-0C3D-84D6-F4F8A29CD470","batch_order_item_id":"49ADF1FA-9D30-CB82-2A45-1CD9C978831C","quantity":"1","unit":"0","item_name":"墙砖","unit_price":"10","model":"2","create_time":"2017-12-16 03:07:35"},{"id":"C9294465-FE04-4D2A-7A46-FF95A2692000","batch_order_item_id":"BA68C68E-DF08-407E-3340-F3DE2EDDD9D1","quantity":"1","unit":"0","item_name":"水泥","unit_price":"5","model":"3","create_time":"2017-12-16 03:07:34"}]
     */

    private String package_id;
    private String batch_id;
    private String title;
    private String order_sn;
    private String batch_sn;
    private String pack_num;
    private String company_name;
    private String upload_completed;
    private List<ItemsBean> items;

    public String getUpload_completed() {
        return upload_completed;
    }

    public void setUpload_completed(String upload_completed) {
        this.upload_completed = upload_completed;
    }

    public String getPackage_id() {
        return package_id;
    }

    public void setPackage_id(String package_id) {
        this.package_id = package_id;
    }

    public String getBatch_id() {
        return batch_id;
    }

    public void setBatch_id(String batch_id) {
        this.batch_id = batch_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public String getBatch_sn() {
        return batch_sn;
    }

    public void setBatch_sn(String batch_sn) {
        this.batch_sn = batch_sn;
    }

    public String getPack_num() {
        return pack_num;
    }

    public void setPack_num(String pack_num) {
        this.pack_num = pack_num;
    }

    public String getCompany_name() {
        return company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    @Override
    public String toString() {
        return "InvitePackageInfo{" +
                "package_id='" + package_id + '\'' +
                ", batch_id='" + batch_id + '\'' +
                ", title='" + title + '\'' +
                ", order_sn='" + order_sn + '\'' +
                ", batch_sn='" + batch_sn + '\'' +
                ", pack_num='" + pack_num + '\'' +
                ", company_name='" + company_name + '\'' +
                ", items=" + items +
                '}';
    }

    public static class ItemsBean implements Serializable{
        /**
         * id : 箱子产品主键ID
         * batch_order_item_id : 订单产品ID
         * quantity : 数量
         * unit : 单位
         * item_name : 产品名称
         * unit_price : 单价
         * model : 型号
         * create_time : 2017-12-16 03:07:35
         */

        private String id;
        private String batch_order_item_id;
        private String quantity;
        private String unit;
        private String item_name;
        private String unit_price;
        private String model;
        private String create_time;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getBatch_order_item_id() {
            return batch_order_item_id;
        }

        public void setBatch_order_item_id(String batch_order_item_id) {
            this.batch_order_item_id = batch_order_item_id;
        }

        public String getQuantity() {
            return quantity;
        }

        public void setQuantity(String quantity) {
            this.quantity = quantity;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getItem_name() {
            return item_name;
        }

        public void setItem_name(String item_name) {
            this.item_name = item_name;
        }

        public String getUnit_price() {
            return unit_price;
        }

        public void setUnit_price(String unit_price) {
            this.unit_price = unit_price;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }
    }
}
